import request from '@/utils/request'

// 查询自定义专家库列表
export function listExpertcustomgroup(query) {
  return request({
    url: '/system/expertcustomgroup/list',
    method: 'get',
    params: query
  })
}

// 查询自定义专家库详细
export function getExpertcustomgroup(id) {
  return request({
    url: '/system/expertcustomgroup/' + id,
    method: 'get'
  })
}

// 新增自定义专家库
export function addExpertcustomgroup(data) {
  return request({
    url: '/system/expertcustomgroup',
    method: 'post',
    data: data
  })
}

// 修改自定义专家库
export function updateExpertcustomgroup(data) {
  return request({
    url: '/system/expertcustomgroup',
    method: 'put',
    data: data
  })
}

// 删除自定义专家库
export function delExpertcustomgroup(id) {
  return request({
    url: '/system/expertcustomgroup/' + id,
    method: 'delete'
  })
}
